/**
 * 
 */
package co.com.smart.eagle.client;

import co.com.smart.eagle.client.activity.BarraBienvenidaActivity;
import co.com.smart.eagle.client.factory.EagleFactory;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.SimplePanel;

/**
 * @author afescobar
 *
 */
public class SmartEagleEntryPoint implements EntryPoint {


	@Override
	public void onModuleLoad() {
			EagleFactory eagleFactory = GWT.create(EagleFactory.class);
			SimplePanel upperPanel = new SimplePanel();
			RootPanel.get("inicioSesion").add(upperPanel);
			BarraBienvenidaActivity bienvenidaActivity = new BarraBienvenidaActivity(eagleFactory);
			bienvenidaActivity.start(upperPanel);
	}

}
